#pragma once

#include "vector.h"
#include "box.h"

namespace g2 {

class polyline;

class curve {
public:
	virtual polyline flatten(double h) const = 0;
	virtual vector center() const = 0;
	virtual box bounds() const = 0;
	virtual void translate(const vector &) = 0;
	virtual void rotate(const vector & center, double angle) = 0;
};

} // g2
